<template>
  <div class="dashboard-container">
    <div class="app-container">
      <input type="text" value="请输入您的信息">
      <button @click="addDept">点击登录</button>
    </div>
    <add-dept ref="addDept" :show-dialog.sync="showDialog" />
  </div>
</template>

<script>
import addDept from './components/add-dept.vue'
export default {
  components: {
    addDept
  },
  data() {
    return {
      showDialog: false
    }
  },
  methods: {
    addDept() {
      this.showDialog = true
    }
  }

}
</script>

<style>

</style>
